import tkinter

win = tkinter.Tk()
win.title('This is My 计算器')
win.geometry('800x600')

button_programmer = tkinter.Button(win,text=' == 程序员')
button_programmer.pack(anchor = 'nw',ipadx = 40)


button_zero = tkinter.Button(win,text = '0')
button_zero.pack(anchor = 'ne',ipadx=40,ipady = 40)

button_HEX = tkinter.Button(win,text = 'HEX 0\n\nDec 0\n\nOct 0\n\nBIN 0')
button_HEX.pack(anchor = 'nw',padx = 10)

# 按键
button_lsh = tkinter.Button(win,text = 'Lsh')
button_lsh.pack(anchor = 'w',padx = 6,pady=6,ipadx=6,ipady=6)

button_jiantou = tkinter.Button(win,text = '↑')
button_jiantou.pack(anchor = 'nw',padx = 6,ipadx=12,ipady=6)

button_a = tkinter.Button(win,text = 'A')
button_a.pack(anchor = 'nw',padx = 6,ipadx=12,ipady=6)


button_c = tkinter.Button(win,text = 'C')
button_c.pack(anchor = 'nw',padx = 6,ipadx=12,ipady=6)

button_e = tkinter.Button(win,text = 'E')
button_e.pack(anchor = 'nw',padx = 6,ipadx=12,ipady=6)

button_kuohao = tkinter.Button(win,text = '(',image='C:\dell/qq.jpg')
button_kuohao.pack(anchor = 'nw',padx = 6,ipadx=12,ipady=6)




win.mainloop()